package com.woniu.service;

import com.woniu.entity.Supplier;
import com.woniu.entity.Unit;
import com.woniu.util.ResponseUtil;

public interface UnitService  {
    ResponseUtil delete(Integer unitId);
    ResponseUtil add(Unit unit);
    ResponseUtil findByUnitId(Integer unitId);
    ResponseUtil update(Unit unit);
    ResponseUtil findAll();

    ResponseUtil findByName(String unitName);
}
